package com.example.piedrapapeltijeralagartospock;

import android.net.Uri;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.VideoView;

public class MenuReglasVideo extends Activity {
	private VideoView videoView;
	 
	@Override public void onCreate(Bundle savedInstanceState){
	       super.onCreate(savedInstanceState);
	       setContentView(R.layout.activity_menu_reglas_video);
	       String url = "android.resource://" + getPackageName() + "/" + R.raw.video;
	       videoView =(VideoView)findViewById(R.id.video);
	       videoView.setVideoURI(Uri.parse(url));
	       videoView.start();
	       videoView.requestFocus();
	}
}